package com.gomyb.admin.module.product.service;

import com.gomyb.admin.module.product.model.AppProductRepertory;
import com.gomyb.common.base.BaseService;
import com.gomyb.common.page.PageParam;
import com.gomyb.common.page.PageResult;

import java.math.BigDecimal;
import java.util.Map;

public interface AppProductRepertoryService extends BaseService<AppProductRepertory, Long> {

    /**
     * 分页查询
     */
    PageResult<com.gomyb.admin.module.product.model.pojo.AppProductRepertory> findPageBySql(PageParam pageParam);

    /**
     * count操作更新
     */
    boolean updateCount(BigDecimal count, BigDecimal oldCount, Long id);
}
